[docker] release tags always with the git sha#19463
Merged
Conversation
JoshLind
approved these changes
Apr 15, 2026
sionescu
approved these changes
Apr 15, 2026
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Contributor
✅ Forge suite
|
Contributor
✅ Forge suite
|
JoshLind
pushed a commit
that referenced
this pull request
Apr 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Always publish an additional tag that has the git hash suffix
We want image tags that look like this so it's easier to tell which commit they're from
Today we only tag them with
How Has This Been Tested?
Dry run: https://github.com/aptos-labs/aptos-core/actions/runs/24473946144/job/71521169973
Includes this logline:
Key Areas to Review
Type of Change
Which Components or Systems Does This Change Impact?
Checklist
Note
Medium Risk
Changes the Docker image release/publish flow to push an additional tag per image, increasing registry writes and potentially affecting downstream consumers that rely on tag naming conventions.
Overview
Updates
docker/release-images.mjsto always publish a second release tag that appends the currentGIT_SHA(e.g...._performance_<sha>) alongside the existing non-SHA tag.The script now computes
imageTargetWithSha, logs both targets in dry-run and non-dry-run modes, and performs an extracrane copyto push the SHA-suffixed tag to each target registry.Reviewed by Cursor Bugbot for commit 15f184c. Bugbot is set up for automated code reviews on this repo. Configure here.